package edu.uow.scsse.plugin.handlers;

import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;

import edu.uow.scsse.gui.SpecifyProjectWindow;

/**
 * Design Metrics Handler
 * @author Tiancheng Zhang
 *
 */
public class DesignMetricsHandler implements IWorkbenchWindowActionDelegate  {
	
	/**
	 * The constructor.
	 */
	public DesignMetricsHandler() {
	}

	@Override
	public void run(IAction action) {
		new SpecifyProjectWindow(null).setVisible(true);
		
	}

	@Override
	public void selectionChanged(IAction action, ISelection selection) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void init(IWorkbenchWindow window) {
		
	}
}
